Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Python
1) 2D Graphics
2) Application
3) Buildin Function
4) Class
5) Data Structure
6) Data Type
7) Database
8) Development
9) Dictionary
10) Event
11) Exception
12) File
13) Function
14) GUI Pmw
15) GUI Tk
16) Language Basics
17) List
18) Math
19) Network
20) String
21) System
22) Thread
23) Tuple
24) Utility
25) XML
Class
1) __getattr__ demo
2) __getattr__ in a class Demo
3) __setattr__ and __dict__
4) __str__ , __repr__
5) A class may define a special method named __init__()
6) A Simple Logger Class
7) A very simple class definition
8) A very simple class with a constructor
9) Add a class member variable on the fly
10) Add a member variable to a class on the fly
11) Class
12) Class constructor parameter
13) Class destructor
14) Class extending dict type
15) Class inheritance
16) Class inherited
17) Class instance value setting
18) Class instantiation uses function notation
19) Class member function
20) Class method
21) Class method Demo
22) Class operator add
23) Class Time with customized attribute access
24) Class Time with properties
25) Constructors Demo
26) Creating and accessing object attributes
27) Define a class
28) Define abstract class Animal
29) Define class object
30) Define function to change member data
31) Define operator for class
32) Definition and test function for class Circle which is based on Point class
33) Definition and test function for class Point
34) Demonstrates a basic class and object
35) Demonstrates class attributes and static methods
36) Demonstrates get and set methods and properties
37) Demonstrates private variables and methods
38) Derived class inheriting from a base class
39) Empty Class constructor
40) Fill the fields of the record
41) Function defined outside the class
42) Generates a class attribute
43) Getter and Setter Methods
44) call __getitem__
45) Implement class add (+) operator
46) Inherited method
47) Inheriting from multiple superclasses
48) Instance Objects
49) Iterator object
50) Make two instance objects and each has its own data
51) Methods uses method attributes of the self argument
52) Multiple Inheritance
53) MyList
54) NameTag class
55) Output attributes
56) Override class __str__ function
57) Override predefined function
58) Overriding built-in __str__() method
59) Polymorphism
60) Print out class tree
61) Provide custom type infomation
62) Reference class member variable directly
63) Roman Number
64) Simple class with slots
65) String Conversion
66) Use __class__, __bases__ and __dict__ for sub and super class
67) Use Inheritance to add more features to a class
68) User-Defined Classes
69) Virtual function
70) Virtual function in derived class is called
71) Virtual function in Python
72) Virtual function in Python class
73) Virtual function in two base class